import 'package:bruno/bruno.dart';
import 'package:flutter/material.dart';
import 'package:pull_to_refresh_flutter3/pull_to_refresh_flutter3.dart';
import 'package:whale/helper/utils/img_util.dart';
import 'package:whale/pages/home/main/model/doc_sum.dart';
import 'package:whale/pages/means/model/means_model.dart';

class HomeState {
  late TabController review_tabCtrl, report_tabCtrl, home_tabCtrl;
  List<String> bannerStr = [
    'https://xxx.szzfyjzx.icu:85/gs-web/img/3.0756144c.png',
    'https://xxx.szzfyjzx.icu:85/gs-web/img/1.19ec4bd2.png',
    'https://xxx.szzfyjzx.icu:85/gs-web/img/2.7af9dc74.png'
  ];
  late List<String> tabTitles, reportTabTitles, homeTabTitles;
  List<String> hots = [];

  List<MeansModel> docZB = [];
  List<MeansModel> docSF = [];
  List<MeansModel> docjx = [];

  DocSum? docSum;

  var carouselData;

  GlobalKey keyGreen1 = GlobalKey();
  GlobalKey keyGreen2 = GlobalKey();
  GlobalKey keyGreen3 = GlobalKey();

  double offsetY1 = 0, offsetY2 = 0, offsetY3 = 0;

  bool isShowTab = false;

  late RefreshController rc;



  late ScrollController scrollController;

  HomeState() {


    scrollController = ScrollController();

    tabTitles = ['政策措施', '招标采购'];
    reportTabTitles = [
      '文件审查报告',
      '任务分析报告',
      '周期清理报告',
    ];
    homeTabTitles = [
      '系统速审',
      '精选观市报告',
      '以案释法',
    ];
  }
}
